@extends('layout.layout')
@section('content')
 <h1 class="page-title">分块添加管理 <small></small></h1>
    
    <div class="widget">
    <div class="widget">
                    <form action="{{url('/admin/service/docateadd')}}" method="post">
                        <div class="widget-header">
                            <h4>分块添加</h4>
                        </div>
						
                        <div class="">
                            <select name="pid" id="select-box" style="background: rgba(0,0,0,0.5)">
                                <option value="0">选择分区</option>
                                @foreach($partname as $k=>$v)
                                <option value="{{$v->id}}">{{$v->partname}}</option>
                                @endforeach
                            </select>
                            <br />
                        </div>
                        <h4>分块名称</h4>
                        <input name="catename" class="span3" id="focusedInput" type="text"  />
                        <br />
                        {{csrf_field()}}
                        <button type="submit" class="btn btn-primary icon-ok">添加分块</button>
                        <button type="reset" class="btn icon-refresh">重置</button>
                   		
                    </form>
     </div>               
    </div>
    


@endsection

